package com.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper extends BaseMapper<User> {


    /**
     * 查询分页
     * @param page
     * @param id
     * @return
     */
    List<User> selectUserList(@Param("page") Page<User> page, @Param("id") Integer id);

}
